#pragma once
#include "Start.h"
class ADStart :	public Start
{
public:
	ADStart(int x, int y, int width, int height, char stroke[], int strokeWidth, char fill[]):
		Start(x, y, width, height, stroke, strokeWidth, fill)
	{
	}

public:
	ADStart(void);
	~ADStart(void);

	void Fill(MyGraphics* g)
	{
		int diameter = _height / 2;
		g->FillEllipse(_fill, _x + (_width - diameter) / 2, _y + diameter / 2, diameter, diameter);
	}

	void Draw(MyGraphics* g)
	{
		Fill(g);

		// Ve ellipse nho
		int diameter = _height / 2;
		g->FillEllipse(_stroke, _x + (_width - diameter) / 2, _y + diameter / 2, diameter, diameter);
	}
};

